package com.sitech.ibnms.c3p.mappers;

import com.sitech.ibnms.c3p.domain.NoticeMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by liujhc on 9/29.
 */
public interface NoticeMessageMapper {
    /**
     * 发送一条短信
     *
     * @param messages
     */
    void insertMessage(@Param("messages") NoticeMessage... messages);

    void insertMessage(@Param("messages") List<NoticeMessage> messages);
}
